package com.wk.code.wkserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wk.code.wkserver.entity.Feedback;
import com.wk.code.wkserver.request.admin.AdminFeedbackRequest;
import com.wk.code.wkserver.request.app.FeedbackRequest;
import com.wk.code.wkserver.response.admin.FeedbackResponse;
import com.wk.code.wkserver.response.base.PageInfo;

/**
 * @author: wangqiang
 * @create: 2021-08-23 13:38
 */
public interface IFeedbackService extends IService<Feedback> {


    /**
     * 反馈
     *
     * @param request 请求参数
     */
    void save(Integer userId, FeedbackRequest request);


    /**
     * 反馈列表
     *
     * @param request 请求参数
     * @return PageInfo<FeedbackResponse>
     */
    PageInfo<FeedbackResponse> page(AdminFeedbackRequest request);
}
